package com.whxd.smarthome.core.service;

import java.util.List;

import com.whxd.smarthome.api.rest.dto.GetDevicesResponseDto;
import com.whxd.smarthome.core.entity.DhDevice;

public interface DhDeviceService {
	
	void saveDevice(DhDevice device);
	
	List<GetDevicesResponseDto> flushAndFilterDevice(List<GetDevicesResponseDto> devicesResponseDtos);
	
	void deleteDevice(String deviceId);
	
	void updateDeviceName(String deviceId, String deviceName);
	
	DhDevice findByDeviceId(String deviceId);
}
